package com.jinzhi.jzweb.domain.moduleConfig;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.FieldStrategy;
import com.jinzhi.jzweb.pojo.moduleConfig.PageInfo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;


/**
 * 
 * <pre>
 * 解密加密
 * </pre>
 * <small> 2024-03-18 09:34:17 | lance</small>
 */
@Data
@SuppressWarnings("serial")
@TableName("decrypt")
//这是的这里继承的基础服务类，有几个基本字段
public class DecryptDO extends PageInfo implements Serializable{
	@TableId
	private Long id;

    @ApiModelProperty(value = "一次加密")
    @TableField(value = "num1")
    private String num1;

    @ApiModelProperty(value = "二次加密")
    @ExcelProperty(index = 0)
    @Excel(name = "二次加密" ,orderNum = "1",width = 20)
    @TableField(value = "num2")
    private String num2;

    @ApiModelProperty(value = "匹配一次加密")
    @TableField("num1s")
    private String num1s;

    @ApiModelProperty(value = "匹配二次加密")
    @TableField("num2s")
    private String num2s;

    @ApiModelProperty(value = "赛场，A-D各个竞赛根据实际业务匹配")
    @TableField("field")
    private String field;


    @ApiModelProperty(value = "0默认、2已录分、1已绑定、")
    @TableField("status")
    private Integer status;

    @ApiModelProperty(value = "状态选择器")
    @TableField(exist = false)
    /**
     * statuss==99时,只查一次加密号不为空的数据
     */
    private String statuss;
    @ApiModelProperty(value = "0默认、1已绑定、")
    @TableField("is_num1")
    private Integer isNum1;

    @ApiModelProperty(value = "0默认、1已绑定、")
    @TableField("is_num2")
    private Integer isNum2;

    @TableField(exist = false)
    private String type;

    @ApiModelProperty(value = "0默认、1已绑定、")
    @TableField("is_show_by")
    private Integer isShowBy;

    @ApiModelProperty(value = "0默认、1已绑定、")
    @TableField("is_show_zqfz")
    private Integer isShowZqfz;

    @TableField(exist = false)
    private String isScore;

}
